<template>
<Person ref="ren"></Person>
<button @click="showRen">测试</button>
</template>

<script lang="ts" setup>
import Person from "./components/Person.vue";
import {ref} from 'vue'

let ren = ref()

function showRen(){
    console.log(ren.value)
}


</script>

<style lang="scss" scoped>

</style>
